/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.employee.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.employee.entity.EmployeeOvertime;
import com.thinkgem.jeesite.modules.employee.dao.EmployeeOvertimeDao;

/**
 * 员工加班Service
 * @author hui.li
 * @version 2017-07-18
 */
@Service
@Transactional(readOnly = true)
public class EmployeeOvertimeService extends CrudService<EmployeeOvertimeDao, EmployeeOvertime> {

	public EmployeeOvertime get(String id) {
		return super.get(id);
	}
	
	public List<EmployeeOvertime> findList(EmployeeOvertime employeeOvertime) {
		return super.findList(employeeOvertime);
	}
	
	public Page<EmployeeOvertime> findPage(Page<EmployeeOvertime> page, EmployeeOvertime employeeOvertime) {
		return super.findPage(page, employeeOvertime);
	}
	
	@Transactional(readOnly = false)
	public void save(EmployeeOvertime employeeOvertime) {
		super.save(employeeOvertime);
	}
	
	@Transactional(readOnly = false)
	public void delete(EmployeeOvertime employeeOvertime) {
		super.delete(employeeOvertime);
	}
	
}